package com.data.modules.online.cgform.model;

public class OnlForeignKey {

    private String f184a;

    private String f185b;

    private String f186c;


    public boolean mo838a(Object obj) {
        return obj instanceof OnlForeignKey;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof OnlForeignKey)) {
            return false;
        }
        OnlForeignKey bVar = (OnlForeignKey) o;
        if (!bVar.mo838a(this)) {
            return false;
        }
        String field = getField();
        String field2 = bVar.getField();
        if (field != null ? !field.equals(field2) : field2 != null) {
            return false;
        }
        String table = getTable();
        String table2 = bVar.getTable();
        if (table != null ? !table.equals(table2) : table2 != null) {
            return false;
        }
        String key = getKey();
        String key2 = bVar.getKey();
        if (key == null) {
            if (key2 == null) {
                return true;
            }
        } else if (key.equals(key2)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int i = 43;
        String field = getField();
        int hashCode = field == null ? 43 : field.hashCode();
        String table = getTable();
        int i2 = (hashCode + 59) * 59;
        int hashCode2 = table == null ? 43 : table.hashCode();
        String key = getKey();
        int i3 = (hashCode2 + i2) * 59;
        if (key != null) {
            i = key.hashCode();
        }
        return i3 + i;
    }

    public void setField(String field) {
        this.f184a = field;
    }

    public void setKey(String key) {
        this.f186c = key;
    }

    public void setTable(String table) {
        this.f185b = table;
    }

    public String toString() {
        return "OnlForeignKey(field=" + getField() + ", table=" + getTable() + ", key=" + getKey() + ")";
    }

    public String getField() {
        return this.f184a;
    }

    public String getTable() {
        return this.f185b;
    }

    public String getKey() {
        return this.f186c;
    }

    public OnlForeignKey() {
    }

    public OnlForeignKey(String str, String str2) {
        this.f186c = str2;
        this.f184a = str;
    }
}
